[INFO] fetching crate libtar-sys 0.1.9...
[INFO] fixing libtar-sys-0.1.9 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate libtar-sys 0.1.9 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate libtar-sys 0.1.9
[INFO] finished tweaking crates.io crate libtar-sys 0.1.9
[INFO] tweaked toml for crates.io crate libtar-sys 0.1.9 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate libtar-sys 0.1.9 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 1 package to latest compatible version
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `libtar-sys` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a8790bb5c3ce5e992eeaf1811ba2376341ee2a61d102c55115d2c3032415db5a
[INFO] running `Command { std: "docker" "start" "a8790bb5c3ce5e992eeaf1811ba2376341ee2a61d102c55115d2c3032415db5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a8790bb5c3ce5e992eeaf1811ba2376341ee2a61d102c55115d2c3032415db5a" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a8790bb5c3ce5e992eeaf1811ba2376341ee2a61d102c55115d2c3032415db5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a8790bb5c3ce5e992eeaf1811ba2376341ee2a61d102c55115d2c3032415db5a" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `libtar-sys` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libtar-sys v0.1.9 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2015 edition to 2018
[INFO] [stderr]    Migrating src/lib.rs from 2015 edition to 2018
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.59s
[INFO] [stderr] crater-edition-check: libtar-sys v0.1.9 (/opt/rustwide/workdir) updating edition from 2015 to 2018
[INFO] [stderr]    Compiling libtar-sys v0.1.9 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | extern {
[INFO] [stdout]    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `char`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:50:24
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn tar_open(t: *mut *mut TAR, pathname: *const c_char, typo: *mut c_void,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `u32` or `libc::wchar_t` instead
[INFO] [stdout]    = note: the `char` type has no C equivalent
[INFO] [stdout]    = note: `#[warn(improper_ctypes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `char`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn tar_close(t: *mut TAR) -> c_int;
[INFO] [stdout]    |                         ^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `u32` or `libc::wchar_t` instead
[INFO] [stdout]    = note: the `char` type has no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `char`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn tar_extract_all(t: *mut TAR, prefix: *const c_char) -> c_int;
[INFO] [stdout]    |                               ^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `u32` or `libc::wchar_t` instead
[INFO] [stdout]    = note: the `char` type has no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | extern {
[INFO] [stdout]    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `char`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:50:24
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn tar_open(t: *mut *mut TAR, pathname: *const c_char, typo: *mut c_void,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `u32` or `libc::wchar_t` instead
[INFO] [stdout]    = note: the `char` type has no C equivalent
[INFO] [stdout]    = note: `#[warn(improper_ctypes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `char`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn tar_close(t: *mut TAR) -> c_int;
[INFO] [stdout]    |                         ^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `u32` or `libc::wchar_t` instead
[INFO] [stdout]    = note: the `char` type has no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `char`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn tar_extract_all(t: *mut TAR, prefix: *const c_char) -> c_int;
[INFO] [stdout]    |                               ^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `u32` or `libc::wchar_t` instead
[INFO] [stdout]    = note: the `char` type has no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.00s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr]     Checking libtar-sys v0.1.9 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.51s
[INFO] [stderr] crater-edition-check: libtar-sys v0.1.9 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling libtar-sys v0.1.9 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | extern {
[INFO] [stdout]    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `char`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:50:24
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn tar_open(t: *mut *mut TAR, pathname: *const c_char, typo: *mut c_void,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `u32` or `libc::wchar_t` instead
[INFO] [stdout]    = note: the `char` type has no C equivalent
[INFO] [stdout]    = note: `#[warn(improper_ctypes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `char`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn tar_close(t: *mut TAR) -> c_int;
[INFO] [stdout]    |                         ^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `u32` or `libc::wchar_t` instead
[INFO] [stdout]    = note: the `char` type has no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | extern {
[INFO] [stdout]    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `char`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn tar_extract_all(t: *mut TAR, prefix: *const c_char) -> c_int;
[INFO] [stdout]    |                               ^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `u32` or `libc::wchar_t` instead
[INFO] [stdout]    = note: the `char` type has no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `char`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:50:24
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn tar_open(t: *mut *mut TAR, pathname: *const c_char, typo: *mut c_void,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `u32` or `libc::wchar_t` instead
[INFO] [stdout]    = note: the `char` type has no C equivalent
[INFO] [stdout]    = note: `#[warn(improper_ctypes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `char`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn tar_close(t: *mut TAR) -> c_int;
[INFO] [stdout]    |                         ^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `u32` or `libc::wchar_t` instead
[INFO] [stdout]    = note: the `char` type has no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `char`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn tar_extract_all(t: *mut TAR, prefix: *const c_char) -> c_int;
[INFO] [stdout]    |                               ^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `u32` or `libc::wchar_t` instead
[INFO] [stdout]    = note: the `char` type has no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.59s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr]     Checking libtar-sys v0.1.9 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/lib.rs (1 fix)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.75s
[INFO] [stderr] crater-edition-check: libtar-sys v0.1.9 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling libtar-sys v0.1.9 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block
[INFO] [stdout]   --> build.rs:13:35
[INFO] [stdout]    |
[INFO] [stdout] 13 |     ($name:expr, $value:expr) => (env::set_var($name, $value));
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout] ...
[INFO] [stdout] 28 |     set!("CFLAGS", &format!("{} -fPIC", get!("CFLAGS")));
[INFO] [stdout]    |     ---------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: this error originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libtar-sys` (build script) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "a8790bb5c3ce5e992eeaf1811ba2376341ee2a61d102c55115d2c3032415db5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8790bb5c3ce5e992eeaf1811ba2376341ee2a61d102c55115d2c3032415db5a", kill_on_drop: false }`
[INFO] [stdout] a8790bb5c3ce5e992eeaf1811ba2376341ee2a61d102c55115d2c3032415db5a
